package com.my.mvpdemo.mvp1.model;

import android.os.SystemClock;

import com.my.mvpdemo.Girl;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 张英杰 on 2017/2/22.
 */

public class GirlModelImpV2 implements IGirlModel {

    //模拟网络访问

    @Override
    public void loadGirl(GirlOnLoadListerer listerer) {
        //加载数据
        List<Girl> data=new ArrayList<>();
        data.add(new Girl("---0011","http://img3.duitang.com/uploads/item/201307/22/20130722113657_SBfQx.thumb.700_0.jpeg"));
        data.add(new Girl("---0022","http://img.zybus.com/uploads/allimg/131217/1-13121G13416-50.jpg"));
        data.add(new Girl("aaa0033","http://n1.itc.cn/img8/wb/recom/2016/05/04/146232665318010390.JPEG"));
        data.add(new Girl("aaa0044","http://img.pconline.com.cn/images/upload/upc/tx/ladyproduct/1606/15/c0/22859886_1465963410000_medium.jpg"));
        data.add(new Girl("bbb0055","http://img.sdchina.com/news/20090922/c01_200909221048468906900.jpg"));
        data.add(new Girl("0066","http://pic.hualongxiang.com/attachment/thumb/Day_131014/1041_1693842_504d1d70f14d8626.jpg"));
        data.add(new Girl("0077","http://d6.yihaodianimg.com/N07/M08/FB/51/CgQI0FT5cVSAL7aSAATTV7i8OjA26500.jpg"));
        data.add(new Girl("0088","http://img1.gtimg.com/gd/pics/hv1/93/27/1361/88506003.jpg"));
        data.add(new Girl("0099","http://b.hiphotos.baidu.com/image/pic/item/d788d43f8794a4c274c8110d0bf41bd5ad6e3928.jpg"));
        data.add(new Girl("00aa","http://c.hiphotos.baidu.com/image/pic/item/10dfa9ec8a136327b898b8a9938fa0ec08fac737.jpg"));
        data.add(new Girl("00bb","http://i1.sanwen.net/doc/1608/704-160PQ44539.jpg"));
        data.add(new Girl("00cc","http://i1.sanwen.net/doc/1608/704-160PQ55I4.jpg"));

        //返回数据
        listerer.onComplete(data);
    }
}
